const {URL} = require('url');
const url = require('url');
const urls = 'https://mail.qq.com/cgi-bin/frame_html?sid=wfVMGW5TEIi0Kztg&r=24529fc0799f7a5e2208d1996a86f857';
var base = new URL(urls);
let parse = url.parse(urls);

querystring.stringify(parse)
console.log(base)
console.info(url.parse(urls))
console.log(url.format(url.parse(urls)))
console.log(url.domainToASCII(urls))

